package com.example.mobile2021606159yhf0506two;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class ShowDAtaActivity extends AppCompatActivity {
    private TextView tvShowDataUsername;
    private TextView tvShowDataPassword;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_d_ata);
        initView();
        Intent intent=getIntent();
        tvShowDataUsername.setText(intent.getStringExtra("userName"));
        Bundle bundle=intent.getExtras();
        tvShowDataPassword.setText(bundle.getString("passWord"));
    }
    private void initView(){
        tvShowDataPassword = (TextView) findViewById(R.id.tvShoeDAtaPassword);
        tvShowDataUsername = (TextView) findViewById(R.id.tvShowDataUsername);
    }
}